package com.darwin.darwinDll.event
{
	import flash.events.Event;
	
	public class DllEvent extends Event
	{
		private var _data:Object;
		public var progress:String;
		/**
		 * 所属加载组 
		 */		
		public var groupName:String;
		
		public function DllEvent(type:String,data:Object=null)
		{
			super(type, false, false);
			this.data = data;
		}

		public function get data():Object
		{
			return _data;
		}

		public function set data(value:Object):void
		{
			_data = value;
		}
		
		/**
		 * 文件加载出错 
		 */		
		public static const IO_ERROR:String = "io_error";
		/**
		 * 文件加载完成 
		 */		
		public static const COMPLETE:String = "complete";
		/**
		 * 文件加载进度 
		 */		
		public static const PROGRESS:String = "progress";
		
		/**
		 * 组文件加载进度 
		 */		
		public static const GROUP_PROGRESS:String = "group_progress";
		
		/**
		 * 组文件加载完成 
		 */		
		public static const GROUP_COMPLETE:String = "group_complete";
		
		/**
		 * 项目中loading文件加载完成 
		 */		
		public static const LOADING_COMPLETE:String = "loading_complete";
		
		/**
		 * 项目中loading文件加载进度 
		 */		
		public static const LOADING_PROGRESS:String = "loading_progress";
		
		/**
		 * 项目中主UI文件加载完成 
		 */		
		public static const MAIN_COMPLETE:String = "main_ui_complete";
		
		/**
		 * 项目中主UI文件加载进度 
		 */		
		public static const MAIN_PROGRESS:String = "main_ui_progress";
		
		/**
		 * 配置文件加载完成 
		 */		
		public static const CONFIG_COMPLETE:String = "config_complete";

	}
}